<template>
	<view :style="Theme">
		<uni-nav-bar :statusBar="true" :fixed="true" :bgImage="bgImage" :title="$t('app.name')" />
		
	</view>
</template>

<script setup>
	import { setTabBar } from '@/theme/tabbar'
	const { theme } = useStore()
	const { Theme, onMounted } = useTheme()
	const { proxy } = getCurrentInstance()
	
	const bgImage = ref('')
	
	onLoad(options => {
		
	})
	onShow(() => {
        setTabBar()
		// 检测页面是否需要登录
		proxy.sjuLogin.checkLogin('/tab/index')
		// #ifdef MP-LARK
		bgImage.value = theme.bgImage
		// #endif
	})
</script>

<style lang="scss" scoped>
	
</style>
